package com.hourse.app.vo.web;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @作者：lichenguang
 * @描述：【获取具体币种K线图】
 * @创建：2021/12/29 19:03
 */
@Data
@ApiModel(value = "币种-新增修改热门币种")
public class KSelectVo {

  @ApiModelProperty(value = "三方币种Code", example = "btc", required = true)
  @NotBlank(message = "三方币种Code不能为空")
  @Length(message = "三方币种Code最大长度为100", max = 100)
  private String code;

  @ApiModelProperty(value = "币种主键", example = "btc", required = true)
  @NotBlank(message = "币种主键不能为空")
  @Length(message = "币种主键最大长度为100", max = 100)
  private String type;

}
